package com.hopscotch.mapper;

import com.hopscotch.entity.Attendance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AttendanceMapper {
    List<Attendance> list(Attendance attendance);

    void createTime(Attendance attendance);


    Attendance listByNameAndData(@Param("currentUserName") String currentUserName, @Param("data") String data);

    void endTime(Attendance attendance);
}
